package com.htzos.admin.ac.bean;
import java.text.SimpleDateFormat;
import java.util.Date;
public class AcMessageBase implements java.io.Serializable{
//主键;
private Integer id;
//信息标题;
private String title;
//信息内容;
private String content;
//信息发送时间;
private Date sendtime;
//信息类型;
private Integer type;
//发送者;
private String author;
//送至用户ID;
private Integer touserId;
//送至用户;
private String touserName;
//送至角色ID;
private Integer toroleId;
//送至角色;
private String toroleName;
//状态;
private Integer status;

public String getStrSendtime(){
	SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
	return sendtime==null?"":sdf.format(sendtime);
}

public Integer getId(){
return this.id;
}
public void setId(Integer id){
this.id=id;
}
public String getTitle(){
return this.title;
}
public void setTitle(String title){
this.title=title;
}
public String getContent(){
return this.content;
}
public void setContent(String content){
this.content=content;
}
public Date getSendtime(){
return this.sendtime;
}
public void setSendtime(Date sendtime){
this.sendtime=sendtime;
}
public Integer getType(){
return this.type;
}
public void setType(Integer type){
this.type=type;
}
public String getAuthor(){
return this.author;
}
public void setAuthor(String author){
this.author=author;
}
public Integer getTouserId(){
return this.touserId;
}
public void setTouserId(Integer touserId){
this.touserId=touserId;
}
public String getTouserName(){
return this.touserName;
}
public void setTouserName(String touserName){
this.touserName=touserName;
}
public Integer getToroleId(){
return this.toroleId;
}
public void setToroleId(Integer toroleId){
this.toroleId=toroleId;
}
public String getToroleName(){
return this.toroleName;
}
public void setToroleName(String toroleName){
this.toroleName=toroleName;
}
public Integer getStatus(){
return this.status;
}
public void setStatus(Integer status){
this.status=status;
}
}